home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A metal ball that has been distressed',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 70,
- 'MinAmbience': 30,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (128,128,128),
- 'Direction': (0.798899,0.305729,0.517968),
- 'HighlightSize': 35
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (109,108,89),
- 'Direction': (-0.999363,-0.035692,-3.6166e-010),
- 'HighlightSize': 36
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (61,61,61),
- 'Direction': (0.17735,0.17735,-0.968036),
- 'HighlightSize': 18
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (128,128,128),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 8,
- 'FileName': 'Dimples',
- 'Fit': App.Constants.Boolean.false,
- 'Size': 25,
- 'Smoothness': 30
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Metal',
- 'PatternOpacity': 100,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 0,
- 'Opacity': 100,
- 'Shininess': 72
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-